package cn.itcast.hotel.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 * 分页响应实体类
 * @Description PageResult
 * @Author kzw
 * @Date 2024-11-18
 */
@Data
@AllArgsConstructor(staticName = "of")
public class PageResult {
     private Long total; //总条数
     private List<HotelDoc> hotels; //当前酒店列表数据
}
